package com.sky.mapper;

import com.sky.entity.AddressBook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName AddressBookMapper
 * @Description 地址簿持久层映射接口
 * @Author sld
 * @Date 2024/7/12 15:41
 * Version 1.0
 **/
@Mapper
public interface AddressBookMapper {
    // 新增地址
    void add(AddressBook addressBook);

    // 查询用户的地址
    List<AddressBook> list(AddressBook addressBook);

    // 修改地址
    void update(AddressBook addressBook);
}
